package com.zch.socket.common.model;

import java.io.Serializable;

/**
 * Rpc响应类
 * @author QJM
 *
 */
public class ResponseModel implements Serializable {
	private static final long serialVersionUID = 1L;
	private Throwable error;
    private Object result;
	public Throwable getError() {
		return error;
	}
	public void setError(Throwable error) {
		this.error = error;
	}
	public Object getResult() {
		return result;
	}
	public void setResult(Object result) {
		this.result = result;
	}
	private String str;

	public String getStr() {
		return str;
	}

	public void setStr(String str) {
		this.str = str;
	}
}
